package cn.zff.service.impl;

import cn.zff.bean.UserInfo;
import cn.zff.mapper.UserInfoMapper;
import cn.zff.service.UserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author Charlie Puth
 * @version 1.0
 * @date 2022/03/09 10:53
 */
@Service
public class UserInfoServiceImpl implements UserInfoService {

    @Resource
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo selectUserInfoById(Integer id) {
        return userInfoMapper.selectByPrimaryKey(id);
    }
}

